package com.king.platform.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(
    prefix = "jwt"
)
@Data
public class JwtTokenConfig {
  private String issuer = "king";
  private String apiSecretKey = "king-jwt";
  private Long expirationTime_HalfHour = 1800L;
  private Long expirationTime_OneHour = 3600L;
  private Long expirationRefreshTime = 24L;
  private String requestHeader = "Authorization";
  private String requestRefreshHeader = "AuthorizationRefresh";
  private String tokenPrefix = "Bearer ";
}
